[HVM][VNC] Make sure that the vnc viewer gets the right resolution when it
authorSteven Smith <ssmith@xensource.com>
Fri, 22 Sep 2006 19:20:57 +0000 (20:20 +0100)
committerSteven Smith <ssmith@xensource.com>
Fri, 22 Sep 2006 19:20:57 +0000 (20:20 +0100)
connects.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
tools/ioemu/vnc.c

index 317d06925618bac2c9c40fa72ee2834b6d14ae2b..af3f4f088fec2f0ab6b312b77a16da468e440118 100644 (file)
@@ -1137,6 +1137,8 @@ static int protocol_client_init(VncState *vs, char *data, size_t len)
     size_t l;
     char pad[3] = { 0, 0, 0 };
 
+    vga_hw_update();
+
     vs->width = vs->ds->width;
     vs->height = vs->ds->height;
     vnc_write_u16(vs, vs->ds->width);